#ifndef __LIGHT_H__
#define __LIGHT_H__

namespace RTRT {
	
	class Light
	{
	public:
		typedef enum 
		{
			LIGHT_POINT = 1,
			LIGHT_AREA
		} LightType;
		
		Light(LightType type, const Vector3& pos, const Color& color) :
			m_type(type),
			m_position(pos),
			m_color(color)
		{
			
		}
		
		Vector3& getPosition() {
			return m_position;
		}
		
		Color& getColor() {
			return m_color;
		}
		
		LightType getType() {
			return m_type;
		}
		
	private:
		// Light position
		Vector3 m_position;
		
		// Light color
		Color m_color;
		
		// Light type
		LightType m_type;
	};
	
	
}


#endif